Add automatic help overlay support to GtkApplication
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2015 04:11:59 +0000 (00:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2015 19:33:09 +0000 (15:33 -0400)
commitf6d9f9f93de1c3c5a7ab5d9c64783e941189d9b5
tree4171de6aadd096aa4b088f167b0fc27ae6c78545
parent310781ecdd573c299e536ab0070910c484aa23d7
Add automatic help overlay support to GtkApplication

When the $(resource_prefix)/gtk/help-overlay.ui resource exists,
load a GtkShortcutsWindow from it for each GtkApplicationWindow,
and set up a win.show-help-overlay action with accels <Primary>F1
and <Primary>? to show it.
docs/reference/gtk/gtk3-sections.txt
gtk/gtkapplication.c
gtk/gtkapplicationwindow.c
gtk/gtkapplicationwindow.h